//
//  BuildCell.m
//  Tospur-text
//
//  Created by  grogue on 15/10/10.
//  Copyright © 2015年 Tospur_hewei. All rights reserved.
//

#import "BuildCell.h"
#import "BuildDetailModel.h"
@interface BuildCell ()
@property (weak, nonatomic) IBOutlet UILabel *addressLabel;
@property (weak, nonatomic) IBOutlet UILabel *areaLabel;
@property (weak, nonatomic) IBOutlet UILabel *typeLabel;
@property (weak, nonatomic) IBOutlet UILabel *volumeLabel;
@property (weak, nonatomic) IBOutlet UILabel *greenLabel;
@property (weak, nonatomic) IBOutlet UILabel *mainTypeLabel;
@property (weak, nonatomic) IBOutlet UILabel *locationLabel;
@property (weak, nonatomic) IBOutlet UILabel *parkRateLabel;
@property (weak, nonatomic) IBOutlet UILabel *decorationLabel;
@property (weak, nonatomic) IBOutlet UILabel *clubHouseLabel;

@end

@implementation BuildCell
- (void)setCellWithModel:(id)model{
    BuildDetailModel *buildDetailModel = model;
    self.areaLabel.text = [NSString stringWithFormat:@"%@㎡",buildDetailModel.GardenBuildArea];
    self.addressLabel.text = buildDetailModel.GardenLoc;
    self.typeLabel.text = buildDetailModel.GardenBuildTypeName;
    self.volumeLabel.text = buildDetailModel.GardenPlotRa;
    self.greenLabel.text = buildDetailModel.GardenGreen;
    self.locationLabel.text = buildDetailModel.GardenCountry;
    self.parkRateLabel.text = buildDetailModel.GardenPark;
}
- (IBAction)phoneAction:(id)sender {
}
- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
